MuleSoft Accelerators - Setup Guide
Application testing
All application projects include MUnit test suites, which provide basic unit test cases, and functional tests, defined in a Postman collection.
Postman tests
For running the Postman collections you will need to download and install the latest Postman release from https://www.postman.com/downloads/. A Postman account is required to launch and run tetsts.
Before importing the project collection into your Postman workspace you will need to set up an environment specifically for running Accelerator test collections. In the accelerator-common-build
project there is a pre-defined environment file under the testing
folder. Import this file into Postman and update the variables to reflect your own settings.
MUnit tests
From the command line, running any Maven goal that includes the testing phase will automatically execute the MUnit tests. This includes the goals test
, package
and deploy
. To avoid running the MUnit tests, specify either -DskipMunitTests
or -DskipTests
on the Maven command line (e.g., mvn package -DskipTests
). Note: case matters.